import request from '@/utils/request'

// 查询账号余额明细(猫粮)列表
export function listUserBalancePetValueDetail(query) {
  return request({
    url: '/system/userBalancePetValueDetail/list',
    method: 'get',
    params: query
  })
}

// 查询账号余额明细(猫粮)详细
export function getUserBalancePetValueDetail(id) {
  return request({
    url: '/system/userBalancePetValueDetail/' + id,
    method: 'get'
  })
}

// 新增账号余额明细(猫粮)
export function addUserBalancePetValueDetail(data) {
  return request({
    url: '/system/userBalancePetValueDetail',
    method: 'post',
    data: data
  })
}

// 修改账号余额明细(猫粮)
export function updateUserBalancePetValueDetail(data) {
  return request({
    url: '/system/userBalancePetValueDetail',
    method: 'put',
    data: data
  })
}

// 删除账号余额明细(猫粮)
export function delUserBalancePetValueDetail(id) {
  return request({
    url: '/system/userBalancePetValueDetail/' + id,
    method: 'delete'
  })
}

// 导出账号余额明细(猫粮)
export function exportUserBalancePetValueDetail(query) {
  return request({
    url: '/system/userBalancePetValueDetail/export',
    method: 'get',
    params: query
  })
}